package com.ophiux.common.core.annotation;

import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * @desc: 消息队列初始化注解
 * @author: hhl
 * @date：2021/11/4 10:17
 */
@Documented
@Inherited
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface RabbitComponent {
    @AliasFor(annotation = Component.class)
    String value();
}
